#ifndef MAINGAME_H
#define MAINGAME_H
#include"QWidget"
#include"QTimer
#include"sourceclass.h"
class maingame:public QWidget{
    Q_OBJECT
public:
    explicit GameScene(QWidget *parent = nullptr);

    int timer1;
    int timer2;
    int timer3;
    //bool is_kill_timer2;
    //bool game_start;
    //float time;
    //int score;
    //bool is_press_x;
    //bool is_win;
    //输入
    QString key;
    //角色
    character *me;
    //墙体
    Walls *walls;
    //陷阱
    Badthings *traps;
    //
    maingame();
    void Game_Init();
};

#endif // MAINGAME_H
